package com.hsmpay.mobile.dao.trans;

import com.hsmpay.common.dao.BaseDao;
import com.hsmpay.mobile.pojo.trans.SSBindCards;
import com.hsmpay.mobile.pojo.trans.SSBindCardsExample;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

/**
 * Created by zhy on 16/3/28.
 */
public interface SSBindCardsDao<Entity extends Serializable,Query extends Object> extends BaseDao<Entity,Query> {
	    void insert(SSBindCards record);

	    int updateByPrimaryKey(SSBindCards record);

	    int updateByPrimaryKeySelective(SSBindCards record);

	    List selectByExample(SSBindCardsExample example);

	    SSBindCards selectByPrimaryKey(Long id);

	    int deleteByExample(SSBindCardsExample example);

	    int deleteByPrimaryKey(Long id);

	    int countByExample(SSBindCardsExample example);

	    int updateByExampleSelective(SSBindCards record, SSBindCardsExample example);

	    int updateByExample(SSBindCards record, SSBindCardsExample example);
	    
	    List selectBindCardsListByUserId(Long userId);

}
